import i18n from '@/utils/i18n'
export const formItems = [
  {
    filed: 'courseName',
    type: 'input',
    label: i18n.t('message.kcmc')
  },
  {
    filed: 'member',
    type: 'input',
    label: i18n.t('message.memberInfo'),
    placeholder: i18n.t('message.hy2')
  },
  {
    filed: 'studentName',
    type: 'input',
    label: i18n.t('message.xyxm')
  },
  {
    filed: 'teacherName',
    type: 'input',
    label: i18n.t('message.jlxm')
  },
  {
    filed: 'status',
    type: 'select',
    label: i18n.t('message.status'),
    clearable: true,
    options: [
      { value: '0', label: i18n.t('message.wqd') },
      { value: '1', label: i18n.t('message.yqd') }
    ]
  },
  {
    filed: 'teacherLevelId',
    type: 'select',
    label: i18n.t('message.jldj'),
    clearable: true,
    valueCode: 'id',
    labelCode: 'levelName',
    options: []
  },
  {
    filed: 'courseType',
    type: 'select',
    label: i18n.t('message.kclx'),
    clearable: true,
    options: [
      { value: '1', label: i18n.t('message.cgk') },
      { value: '4', label: i18n.t('message.sjk') }
    ]
  },
  {
    filed: 'classDate',
    label: i18n.t('message.sksj'),
    type: 'date'
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}

